﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebApplication1.App_Start
{
    public class ContentResult:IResult
    {
        private string content = null;
        public ContentResult(string content)
        {
            this.content = content;
        }
        public void Execute(HttpContext context, string controllerName, string actionName)
        {
            context.Response.Write(this.content);
        }
    }
}